package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.HkHoldBean;

/**
* 描述：获取沪深港股通持股明细，数据来源港交所。
* @author: codesmith
**/
@Data
@TableName("hk_hold")
public class HkHoldEntity implements HkHoldBean {
    

    @TableField("`code`") protected String code;
    /*
    * 交易日期
    */
    @TableId
    @TableField("`trade_date`") protected LocalDate tradeDate;
    /*
    * TS代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;

    @TableField("`name`") protected String name;

    @TableField("`vol`") protected Integer vol;

    @TableField("`ratio`") protected Double ratio;

    @TableField("`exchange`") protected String exchange;
}